package com.example.tliaswebmanagement.mapper;

import com.example.tliaswebmanagement.entity.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface StudentMapper {

    List<Student> findAll(String name,Integer degree,Integer clazzId);

    void deleteByIds(List<Integer> ids);

    @Select("select * from student where id = #{id}")
    Student findById(Integer id);
}
